package cn.lingyangwl.agile.msg.push.model.entity;

import cn.lingyangwl.agile.model.BasePO;
import cn.lingyangwl.agile.tenant.core.DataIsolation;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.Getter;
import lombok.Setter;

/**
 * 接收者订阅的推送
 *
 * @author shenguangyang
 */
@Getter
@Setter
@TableName("mps_receiver_subscribe")
@DataIsolation(filterTenant = true, tableName = "mps_receiver_subscribe")
public class ReceiverSubscribe extends BasePO {
    @TableId
	private Long id;
	
	/**
	 * 接收者id
	 */
	private Long receiverId;
	
	/**
	 * 订阅的消息通知id
	 */
	private Long noticeId;

    public static LambdaQueryWrapper<ReceiverSubscribe> lqw() {
		return Wrappers.lambdaQuery();
	}
}
